package com.qf.spring2202.springfactory.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;

@Data //生成熟悉的setter和getter方法,生成tostring方法
@AllArgsConstructor //生成全参构造函数
@NoArgsConstructor  //生成无参构造函数
public class User {
    private Integer id;
    private String password;
    private String sex;
    private Integer age;
    private Date bornDate;
    private String[] hobbys;
    private Set<String> phones;
    private List<String> names;
    private Map<String,String> countries;
    private Properties files;
}
